
package com.hlkj.pay.gateway.order;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.pay.app.merchant.ext.dto.profit.ChannelSubsidyOrderContext;
import com.hlkj.pay.dto.order.SubsidyOrderResultDto;

/**
 * 分润订单
 * 
 * @author HlpayTeam
 * @date 2024/11/07 11:04
 */
public interface IChannelSubsidyOrderGateway {

    /**
     * 通道实现校验
     *
     * @param channelCode
     * @return
     */
    boolean extensionExist(String channelCode);

    /**
     * 申请营销补贴
     * @return
     */
    SubsidyOrderResultDto submitSubsidyOrder(ChannelSubsidyOrderContext channelSubsidyOrderContext);

    /**
     * 查询营销补贴
     * 
     * @return
     */
    SubsidyOrderResultDto querySubsidyOrder(ChannelSubsidyOrderContext channelSubsidyOrderContext);

    /**
     * 营销补贴退款
     * @return
     */
    SubsidyOrderResultDto submitSubsidyRefundOrder(ChannelSubsidyOrderContext channelSubsidyOrderContext);

    /**
     * 营销补贴退款查询
     * @return
     */
    SubsidyOrderResultDto querySubsidyRefundOrder(ChannelSubsidyOrderContext channelSubsidyOrderContext);


}
